package com.xjscrm.console.param.materialLibrary;

import com.xjscrm.console.param.QueryParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("素材查询参数")
public class MaterialQuery extends QueryParam {

    @ApiModelProperty(value = "商户ID", hidden = true)
    private Long merId;

    @ApiModelProperty(value = "子账号ID", hidden = true)
    private Long childId;

    @ApiModelProperty(value = "账号类型 0-主账号，1-子账号", hidden = true)
    private Integer operatorType;

    @ApiModelProperty(value = "类型（1-企业素材；2-个人素材")
    private Integer type;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "标签id")
    private List<Long> tagIds;

    @ApiModelProperty(value = "素材类型")
    private Integer msgType;

    @ApiModelProperty(value = "素材id列表")
    private List<Long> materialIds;

    @ApiModelProperty(value = "是否重要(0-否;1-是)")
    private Integer important;

}
